package com.example.demo.demos.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@Data
@NoArgsConstructor
@TableName(value = "user")
public class User {
    @TableField(value = "name")
    private String name;
    private Integer age;
    
    @TableId
    private Long id;
}